﻿using ERP.ERPSystem.ProductionSystem.Dto;
using ERP.Team.ProductionSystem;
using ERP.Team.RBAC;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace ERP.ERPSystem.ProductionSystem
{
    /// <summary>
    /// 生产系统-质量管理-出货检验-xzc
    /// </summary>
    public interface IOutgoingInspectionServices:IApplicationService
    {
        /// <summary>
        /// 新增出货检验
        /// </summary>
        /// <param name="outgoinginspectiondto"></param>
        /// <returns></returns>
        Task<int> AddOutgoingInspection(OutgoingInspectionDto outgoinginspectiondto);
        /// <summary>
        /// 通过id查询刀出货检验数据
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<List<OutgoingInspection>> FindOutgoingInspection(int id);
        /// <summary>
        /// 更新出货检验
        /// </summary>
        /// <param name="outgoinginspectiondto"></param>
        /// <returns></returns>
        Task<int> UpdateOutgoingInspection(OutgoingInspectionDto outgoinginspectiondto);
        /// <summary>
        /// 删除出货检验
        /// </summary>
        /// <param name="outgoinginspectiondto"></param>
        /// <returns></returns>
        Task DeleteOutgoingInspection(int id);
        /// <summary>
        /// 批量删除出货检验
        /// </summary>
        /// <param name="ids">要删除的ID列表</param>
        /// <returns></returns>
        Task<int> BatchDeleteOutgoingInspection(List<int> ids);
        /// <summary>
        /// 查询出货检验
        /// </summary>
        /// <param name="getoutgoinginspectiondto"></param>
        /// <returns></returns>
        Task<List<OutgoingInspection>> GetOutgoingInspection(GetOutgoingInspectionDto getoutgoinginspectiondto);
        /// <summary>
        /// 查询用户列表
        /// </summary>
        /// <returns></returns>
        Task<List<UserModel>> GetUserList(GetUserListDto getuserlistdto);
    }
}
